package com.adcc.ags.gms.core.entity;

/**
 * GMS系统用户实体
 */
public class SysUser extends BaseEntity {

    // 系统用户ID
    private long id;

    // 系统用户名字
    private String name;

    // 系统用户密码
    private String password;


    // 系统用户类型
    private int type;


    /**
     * 构造函数
     */
    public SysUser() {
    }

    /**
     * 构造函数
     *
     * @param id
     */
    public SysUser(int id) {
        this.id = id;
    }

    /**
     * 构造函数
     *
     * @param id
     * @param name
     */
    public SysUser(int id, String name) {
        this.id = id;
        this.name = name;
    }
    public SysUser(int id, String name,String password,int type) {
        this.id = id;
        this.name = name;
        this.password=password;
        this.type=type;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
